package imnu.tr;

/**
 * @author: lys
 * @类名: Thread_02
 * @Title:
 * @date: 2020/7/21
 **/
public class Thread_02 extends Thread {
    @Override
    public void run() {
        for (int i=1;i<=10;i++){
            try {
                Thread.sleep(200);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println(Thread.currentThread().getName()+"---"+i);
        }
    }
}
